package sc.prototype.pfs.test.eventnotify.repo;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import sc.prototype.pfs.eventnotify.model.Notice;
import sc.prototype.pfs.eventnotify.model.NoticeContent;
import sc.prototype.pfs.eventnotify.repo.NoticeManager;

@Component
public class MockNoticeManager implements NoticeManager {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public void insertNoticeStuff(List<Notice> notices, List<NoticeContent> noticeContents) {
        for (NoticeContent content : noticeContents) {
            logger.info("保存通知内容-{}", content);
        }
        for (Notice notice : notices) {
            logger.info("保存通知-{}", notice);
        }
    }

    @Override
    public void updateNotice(Notice notice) {
        // TODO Auto-generated method stub

    }


}
